package cn.yes.jdbc;
import java.sql.DriverManager;

public class Appjdbc {
    public static void main(String[] args) throws Exception{
        Class.forName("java.sql.Driver");
        String url="jdbc:mysql://localhost:43306/test？useSSL=ture";
        String username="root";
        String password="root";
        DriverManager.getConnection(url,username,password);
    }
}
